{% extends "groups/base_groups.html" %}


{% block title %}Create a topic{% endblock %}
{% block body_class %}{{ block.super }} topics topic_form{% endblock %}


{% block content_title %}
  <h2>{% if topic %}Edit{% else %}Create a{% endif %} topic</h2>
{% endblock %}


{% block content %}
  {% load stringutils %}

  <form action="." method="post">{% csrf_token %}
    {{ form|format_fields }}
    <p class="submit"><button type="submit">Save</button></p>
  </form>
{% endblock %}